(global.webpackJsonp = global.webpackJsonp || []).push([ [ "graceUI/components/graceNumberBox" ], {
    "1f26": function(t, e, u) {},
    "45bf": function(t, e, u) {
        "use strict";
        u.r(e);
        var n = u("db67"), i = u.n(n);
        for (var r in n) "default" !== r && function(t) {
            u.d(e, t, function() {
                return n[t];
            });
        }(r);
        e.default = i.a;
    },
    6774: function(t, e, u) {
        "use strict";
        u.r(e);
        var n = u("72e2"), i = u("45bf");
        for (var r in i) "default" !== r && function(t) {
            u.d(e, t, function() {
                return i[t];
            });
        }(r);
        u("f3da");
        var a = u("f0c5"), o = Object(a.a)(i.default, n.b, n.c, !1, null, "857c018c", null, !1, n.a, void 0);
        e.default = o.exports;
    },
    "72e2": function(t, e, u) {
        "use strict";
        u.d(e, "b", function() {
            return n;
        }), u.d(e, "c", function() {
            return i;
        }), u.d(e, "a", function() {});
        var n = function() {
            this.$createElement, this._self._c;
        }, i = [];
    },
    db67: function(t, e, u) {
        "use strict";
        Object.defineProperty(e, "__esModule", {
            value: !0
        }), e.default = void 0;
        var n = {
            name: "graceNumberBox",
            props: {
                disabled: {
                    type: Boolean,
                    default: !1
                },
                value: {
                    type: Number,
                    default: 0
                },
                index: {
                    type: Number,
                    default: 0
                },
                maxNum: {
                    type: Number,
                    default: 999999
                },
                minNum: {
                    type: Number,
                    default: 0
                },
                datas: {
                    type: String,
                    default: ""
                },
                btnSize: {
                    type: String,
                    default: "60rpx"
                },
                btnFontSize: {
                    type: String,
                    default: "36rpx"
                },
                btnColr: {
                    type: String,
                    default: "#666666"
                },
                inputHeight: {
                    type: String,
                    default: "30rpx"
                },
                inputFontSize: {
                    type: String,
                    default: "26rpx"
                },
                inputColor: {
                    type: String,
                    default: "#333333"
                },
                inputBG: {
                    type: String,
                    default: "#F6F7F8"
                },
                inputPadding: {
                    type: String,
                    default: "10rpx"
                },
                inputBorderRadius: {
                    type: String,
                    default: "8rpx"
                },
                width: {
                    type: String,
                    default: "200rpx"
                },
                step: {
                    type: Number,
                    default: 1
                }
            },
            data: function() {
                return {
                    inputNumber: 0,
                    callbackNumber: 0
                };
            },
            created: function() {
                this.inputNumber = Number(this.value), this.callbackNumber++;
            },
            watch: {
                value: function(t, e) {
                    this.inputNumber = Number(t);
                },
                inputNumber: function(t, e) {
                    var u = this;
                    if (t = Number(t), !isNaN(t)) return t > this.maxNum ? (this.$emit("change", [ this.maxNum, this.index, this.datas ]), 
                    void setTimeout(function() {
                        u.inputNumber = u.maxNum;
                    }, 200)) : t < this.minNum ? (this.$emit("change", [ this.minNum, this.index, this.datas ]), 
                    void setTimeout(function() {
                        u.inputNumber = u.minNum;
                    }, 200)) : void (t != e && this.callbackNumber > 0 && this.$emit("change", [ t, this.index, this.datas ]));
                    setTimeout(function() {
                        u.inputNumber = Number(e);
                    }, 200);
                }
            },
            methods: {
                add: function() {
                    var t = Number(this.inputNumber) + Number(this.step);
                    t > this.maxNum || (this.inputNumber = Number(t));
                },
                reduce: function() {
                    var t = Number(this.inputNumber) - Number(this.step);
                    t < this.minNum || (this.inputNumber = t);
                },
                inputval: function(t) {
                    this.inputNumber = t.detail.value;
                }
            }
        };
        e.default = n;
    },
    f3da: function(t, e, u) {
        "use strict";
        var n = u("1f26");
        u.n(n).a;
    }
} ]), (global.webpackJsonp = global.webpackJsonp || []).push([ "graceUI/components/graceNumberBox-create-component", {
    "graceUI/components/graceNumberBox-create-component": function(t, e, u) {
        u("543d").createComponent(u("6774"));
    }
}, [ [ "graceUI/components/graceNumberBox-create-component" ] ] ]);